package com.gouzaofangfa;

public class Table {
    static {
        System.out.println("先给桌子铺上餐布");
    }
    private String coldFood;
    private String hotFood;
    private String soup;

    public Table(){}
    public Table(String coldFood, String hotFood, String soup) {
        this.coldFood = coldFood;
        this.hotFood = hotFood;
        this.soup = soup;
    }

    public String getColdFood() {
        return coldFood;
    }

    public void setColdFood(String coldFood) {
        this.coldFood = coldFood;
    }

    public String getHotFood() {
        return hotFood;
    }

    public void setHotFood(String hotFood) {
        this.hotFood = hotFood;
    }

    public String getSoup() {
        return soup;
    }

    public void setSoup(String soup) {
        this.soup = soup;
    }

    @Override
    public String toString() {
        return "Table{" +
                "coldFood='" + coldFood + '\'' +
                ", hotFood='" + hotFood + '\'' +
                ", soup='" + soup + '\'' +
                '}';
    }
}
